<?php 
class Order_model extends Model {
	
	var $tbl_name = 'order';
	
	function Order_model() {
		parent::Model();
	}
	
	function addOrder($ary_info=array()) {
		$this->db->insert($this->tbl_name, $ary_info);
		
		return $this->db->insert_id();
	} 
}